<div class="easyui-layout" data-options="fit:true,border:false" style="overflow: auto">
	<div class="easyui-panel edit-panel toggle-panel" data-options="openAnimation:'slide',closeAnimation:'slide'">
		<div data-options="region:'north',border:false" style="overflow: auto;margin: 10px;">
			<div class="flow-edit-btn" style="height:auto;margin-right:0px">
				<div />
			</div>
		</div>
		<div data-options="region:'center',border:false" style="overflow: auto;margin-top: 10px;">



			<center>
				<table>
					<tr>
						<td>
							<form method="post" class="main-form">

								<fieldset>
									<table>

										<tr>
											<th>用车人</th>
											<td><input name="apply_name" id="apply_name" class="easyui-textbox easyui-validatebox" buttonText="选择" style="width:285px" type="text"  data-options="editable:false"/></td>
											 <th>用车部门</th>
											<td><input name="apply_deptname" id="apply_deptname" class="easyui-textbox easyui-validatebox" style="width:285px" type="text"  data-options="editable:false"/></td>
											
										</tr>
										<tr>
										  
										   <th>随行人员</th>
											<td><input name="go_person" id="go_person" class="easyui-textbox easyui-validatebox" style="width:285px" type="text" data-options="editable:false" /></td>
											<th>目的地</th>
											<td><input name="aim_address" id="aim_address" class="easyui-textbox easyui-validatebox" style="width:285px" type="text" data-options="editable:false" /></td>
										
										</tr>											
										<tr>
											<th>出车时间</th>
											<td><input name="go_car_time" id="go_car_time" class="easyui-textbox easyui-validatebox" style="width:285px" type="text" data-options="editable:false" /></td>
											<th>预计回车</th>
											<td><input name="plan_back_car_time" id="plan_back_car_time" class="easyui-textbox easyui-validatebox" style="width:285px" type="text" data-options="editable:false" /></td>
										</tr>
										<tr>
										    <th>出车原因</th>
											<td colspan="3"><input name="apply_content" id="apply_content" class="easyui-textbox" style="width:673px;height:50px;"  data-options="editable:false"></input></td>
										</tr>
										<!------------------------------------用车人---------------------------------------------->	
										
										<tr>
										    <th>审批意见</th>
											<td colspan="3"><input name="dept_content" id="dept_content" class="easyui-textbox"  style="width:673px;height:50px;" data-options="editable:false"/></td>
										</tr>
										<tr>	
											<th>出行方式</th>
											<td>						
												<input name="plate_number" id="plate_number" class="easyui-textbox easyui-validatebox" style="width:285px" type="text"  data-options="editable:false"/>
											</td>		   
										    <th>预计开销</th>
											<td><input name="driver" id="driver" class="easyui-textbox easyui-validatebox" style="width:285px" type="text"  data-options="editable:false"/></td>
										</tr>
									
										<tr>
										   <th>回车时间</th>
											<td><input name="back_car_time" id="back_car_time" class="easyui-textbox easyui-validatebox" style="width:285px" type="text" data-options="editable:false" /></td>
										    <th>出车天数</th>
											<td><input name="go_car_days" id="go_car_days" class="easyui-textbox easyui-validatebox" style="width:285px" type="text"  data-options="editable:false"/></td>
										</tr>
										<tr>
											<th>是否超出预计</th>
											<td>
											<input name="car_parking_position" id="car_parking_position" class="easyui-textbox easyui-validatebox" style="width:285px" type="text" data-options="editable:false" />
											</td>
										    <th>额外支出费用</th>
											<td><input name="pay_car_other" id="pay_car_other" class="easyui-textbox easyui-validatebox" style="width:285px" type="text"  data-options="editable:false"/></td>
										</tr>
										<tr>
										    <th>额外支出详情</th>
											<td colspan="3"><input name="back_car_comment" id="back_car_comment" class="easyui-textbox"  data-options="editable:false" style="width:673px;height: 50px;" ></input></td>
										</tr>
										
										
										<th>办公室确认回车</th>
											<td><input name="confirm_back_car" id="confirm_back_car" class="easyui-textbox easyui-validatebox" style="width:285px" type="text" data-options="editable:false" /></td>
									
										<tr>
											<th>附件</th>
											<td colspan="3">
												<!-- <input class="easyui-textbox" id="add_file" name="add_file" 
													data-options="multiline:true,editable:false" style="width:620px;height: 50px;"> 
													</input> -->
												<div class="fileList">
												</div>
											</td>
										</tr>



									</table>
									<input name="id" id="id" type="hidden" />
									<input name="bizid" id="bizid" type="hidden" />
									<input name="flowInstId" id="flowInstId" type="hidden" />
									<input name="flowTaskId" id="flowTaskId" type="hidden" />
									<input name="created" id="created" type="hidden" />
									<input name="creater" id="creater" type="hidden" />


									<input name="apply_id" id="apply_id" type="hidden" />
									<input id="apply_deptid" name="apply_deptid" type="hidden" />
									<input id="dept_auditid" name="dept_auditid" type="hidden" />
									<input id="dept_audit_deptid" name="dept_audit_deptid" type="hidden" />
									<input id="dept_audit_deptname" name="dept_audit_deptname" type="hidden" />
								</fieldset>
							</form>
						</td>
					</tr>
				</table>



			</center>

		</div>
	</div>

	<!-- 这是一个上传的窗口 -->
	<div class="easyui-panel upload-panel toggle-panel"
		data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<div class="archive-btn">
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn function-btn"
				iconcls="icon-add" plain="true">上传</a>
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn function-btn"
				iconcls="icon-remove" plain="true">删除</a>
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn function-btn"
				iconcls="icon-undo" plain="true">返回</a>
		</div>
		<div class="table-archive">
		</div>
		<form class="upload-form">
			<div id="queue">
			</div>
			<input id="file_upload" name="file_upload" type="file"
				multiple="true" />
		</form>
	</div>

	<!-- 这是预留流程节点显示窗口 -->
	<div class="easyui-panel historical-panel toggle-panel"
		data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<div class="archive-btn">
			<a href="javascript:void(0);" class="easyui-linkbutton function-btn"
				iconcls="icon-undo" plain="true">返回</a>
		</div>
		<div class="historics">
			<table style="margin:2 auto" class="easyui-datagrid historics"
				data-options="rownumbers:true,
				animate: true, collapsible: true, striped:true, width : 'auto', border:true,
				idField: 'id', fitColumns: true">
				<thead>
					<!-- <tr> <th field="name" width="60" align="center"> 节点名称 </th> <th 
						field="username" width="60" align="center"> 处理人员 </th> <th field="startTime" 
						width="60" align="center"> 到达时间 </th> <th field="endTime" width="60" align="center"> 
						完成时间 </th> <th field="description" width="100" align="center"> 签收信息 </th> 
						</tr> -->
				</thead>
			</table>
		</div>
	</div>
	<!-- 这是预留流程节图显示窗口 -->
	<div class="easyui-panel historicalDiagram-panel toggle-panel"
		data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<div class="archive-btn">
			<a href="javascript:void(0);" class="easyui-linkbutton function-btn"
				iconcls="icon-undo" plain="true">返回</a>
		</div>
		<div class="historicalDiagram">
		</div>
	</div>
</div>
<script>

	requirejs(['flowEditModule','oaCarApply','domReady!'],function(flowedit,oaCarApply,doc){
	flowedit.init({doc:doc,
	rootId:'panel-oa-carapply',
	subSystemCode:'sysman',
	moduleCode:'oaCarApply',
	editWindow:'oa-carapply-win',
	initElement:oaCarApply.initEdit,
	buttonExtends:oaCarApply.buttonExtends,	
	fieldSetting:oaCarApply.reCreateField})
	});

</script>

